<div>
    <h2 data-translate="milkbeeApp.requisition.home.title">Requisitions</h2>
    <jhi-alert></jhi-alert>
    <div class="container-fluid">
        <div class="row">
            <div class="col-xs-4 no-padding-left">
                <button class="btn btn-primary" ui-sref="requisition.new" >
                    <span class="glyphicon glyphicon-plus"></span>
                    <span  data-translate="milkbeeApp.requisition.home.createLabel">
                        Create new Requisition
                    </span>
                </button>
            </div>
        </div>
    </div>
    <br/>
    <div class="table-responsive">
        <table class="jh-table table table-striped">
            <thead>
                <tr>
                    <th><span data-translate="global.field.id">ID</span></th>
                    <th><span data-translate="milkbeeApp.requisition.createdAt">Created At</span></th>
                    <th><span data-translate="milkbeeApp.requisition.cardId">Card Id</span></th>
                    <th><span data-translate="milkbeeApp.requisition.estate">Estate</span></th>
                    <th><span data-translate="milkbeeApp.requisition.userId">User Id</span></th>
                    <th><span data-translate="milkbeeApp.requisition.leaguerId">Leaguer Id</span></th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="requisition in vm.requisitions track by requisition.id">
                    <td><a ui-sref="requisition-detail({id:requisition.id})">{{requisition.id}}</a></td>
                    <td>{{requisition.createdAt | date:'medium'}}</td>
                    <td>{{requisition.cardId}}</td>
                    <td>{{requisition.estate}}</td>
                    <td>{{requisition.userId}}</td>
                    <td>{{requisition.leaguerId}}</td>
                    <td class="text-right">
                        <div class="btn-group flex-btn-group-container">
                            <button type="submit"
                                    ui-sref="requisition-detail({id:requisition.id})"
                                    class="btn btn-info btn-sm">
                                <span class="glyphicon glyphicon-eye-open"></span>
                                <span class="hidden-xs hidden-sm" data-translate="entity.action.view"></span>
                            </button>
                            <button type="submit"
                                    ui-sref="requisition.edit({id:requisition.id})"
                                    class="btn btn-primary btn-sm">
                                <span class="glyphicon glyphicon-pencil"></span>
                                <span class="hidden-xs hidden-sm" data-translate="entity.action.edit"></span>
                            </button>
                            <button type="submit"
                                    ui-sref="requisition.delete({id:requisition.id})"
                                    class="btn btn-danger btn-sm">
                                <span class="glyphicon glyphicon-remove-circle"></span>
                                <span class="hidden-xs hidden-sm" data-translate="entity.action.delete"></span>
                            </button>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
